package com.xinghai.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xinghai.common.annotation.Excel;
import com.xinghai.common.core.domain.BaseEntity;

/**
 * 用车信息评论关联对象 xh_use_vehicle_info_details
 * 
 * @author xinghai
 * @date 2024-07-17
 */
public class XhUseVehicleInfoDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** infoId */
    @Excel(name = "infoId")
    private Long infoId;

    /** 评论文本 */
    @Excel(name = "评论文本")
    private String comments;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 评论类型（0车辆信息 1卸车押车函） */
    @Excel(name = "评论类型", readConverterExp = "0车辆信息 1卸车押车函 2发货耗材明细")
    private String type;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 最后登录IP */
    @Excel(name = "最后登录IP")
    private String loginIp;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginDate;

    /** 图片地址（逗号分割） */
    @Excel(name = "图片地址", readConverterExp = "逗=号分割")
    private String imgLinks;

    /** 钉钉图片地址（逗号分割） */
    @Excel(name = "钉钉图片地址", readConverterExp = "逗=号分割")
    private String dingtalkImgLinks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setLoginIp(String loginIp) 
    {
        this.loginIp = loginIp;
    }

    public String getLoginIp() 
    {
        return loginIp;
    }
    public void setLoginDate(Date loginDate) 
    {
        this.loginDate = loginDate;
    }

    public Date getLoginDate() 
    {
        return loginDate;
    }
    public void setImgLinks(String imgLinks) 
    {
        this.imgLinks = imgLinks;
    }

    public String getImgLinks() 
    {
        return imgLinks;
    }
    public void setDingtalkImgLinks(String dingtalkImgLinks) 
    {
        this.dingtalkImgLinks = dingtalkImgLinks;
    }

    public String getDingtalkImgLinks() 
    {
        return dingtalkImgLinks;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("infoId", getInfoId())
            .append("comments", getComments())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("loginIp", getLoginIp())
            .append("loginDate", getLoginDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("imgLinks", getImgLinks())
            .append("dingtalkImgLinks", getDingtalkImgLinks())
            .append("type",getType())
            .toString();
    }
}
